﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="RewardDetails.aspx.cs" Inherits="FYPHP.RewardDetails" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="LeftContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
<h2>Reward Details</h2>
<table cellpadding="5" cellspacing="5" width="722" border="1" bordercolor="#aaa" align="center" style="border-collapse: collapse; border-color: #aaaaaa; text-align: center">
 <tr style="background-color: #f2f2f2; font-weight: bold;"><td colspan="2"> <asp:Label ID="lblName" runat="server" Text=""></asp:Label>
     </td></tr>
 <tr><td width="310px">
 <a href="/uploads/reward/<% Response.Write(getPic()); %>" title="" class="thickbox">
<img src="/uploads/reward/<% Response.Write(getPic()); %>" alt="" height="300px" width="300px" />
</a><i style="font-size: 11px">Click to view larger size.</i>
</td>

<td style="text-align: left; word-wrap: break-word; max-width: 398px;" valign="top">
    <asp:Panel ID="Panel1" runat="server" Visible="False">
        <em>Hi
        <asp:Label ID="lblUserName" runat="server"></asp:Label>
        <asp:Label ID="lblUserID" runat="server" Visible="False"></asp:Label>
        , you have total
        <asp:Label ID="lblPoints" runat="server" Text=""></asp:Label>
        points now.</em><br /><br /></asp:Panel>
    
    Reward ID :
    <asp:Label ID="lblRID" runat="server" Text="Label"></asp:Label>
    <br />
<br />
    Reward
    Name : <asp:Label ID="lblName2" runat="server" Text=""></asp:Label>

    <br />
    <br />
    Reward Description : <asp:Label ID="lblDesc" runat="server" Text=""></asp:Label>

    <br />
    <br />
    Quantity Available :
    <asp:Label ID="lblQuantity" runat="server"></asp:Label>
    <br />
    <br />
    Points Needed :
    <asp:Label ID="lblPointsNeed" runat="server" Text=""></asp:Label>
    <br />

    <br />
    <asp:Button ID="btnRedeem" runat="server" Text="Redeem" 
        onclick="btnRedeem_Click" />

</td>
</tr>
</table>
</asp:Content>
